package com.example.texted.properties;

import java.util.Map;
import java.util.Properties;

public class DoMain {
    public static void main(String[] args) {
//        Properties properties = System.getProperties();
//        for (Map.Entry<Object, Object> entry : properties.entrySet()) {
//            System.out.print(entry.getKey() + " = ");
//            System.out.println(entry.getValue());
//        }
        Map<String, String> getenv = System.getenv();
        for (Map.Entry<String, String> entry : getenv.entrySet()) {
            System.out.print(entry.getKey() + " = ");
            System.out.println(entry.getValue());
        }
    }
}
